﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace OOAD_PROJEKAT
{
    public class Preuzimac : Zaposlenik
    {
        public List<PolicaOsiguranja> police;
        public List<DateTime> sastanci;

        public Preuzimac(int _id, string username_, string _ime, string _prezime, string _jmbg, string _password,
                          double _plata, int idF)
            : base(_id, username_, _ime, _prezime, _jmbg, _password, _plata, idF, "Preuzimac")
        {
            police = new List<PolicaOsiguranja>();
            sastanci = new List<DateTime>();
        }
        public Preuzimac(Preuzimac p)
            : base(p.Id, p.username, p.Ime, p.Prezime, p.Jmbg, p.Password,
                p.Plata, p.IdFilijale, "Preuzimac")
        {
            police = new List<PolicaOsiguranja>(p.police);
            sastanci = new List<DateTime>(p.sastanci);
        }
        public void dodajPolicu(PolicaOsiguranja novaPolica)
        {

        }
        public void izbrisiPolicu(PolicaOsiguranja novaPolica)
        {

        }
        public void dogovoriSastanak(DateTime datum, Klijent potencijalniKlijent)
        {

        }
        public double izracunajCijenuPolice(Klijent klijent)
        {
            throw new NotImplementedException();
        }
    }
}
